import 'package:example/page/base/state.dart';
import 'package:fish_redux/fish_redux.dart';

import '../../components/test_component/component.dart';
import 'connector.dart';

FlowAdapter<PageState> get adapter => FlowAdapter<PageState>(
      view: (PageState state) => DependentArray<PageState>(
        length: 0,
        builder: (int index) {
          return AdapterConnector(index: index) + TestComponent();
        },
      ),
    );
